home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / nt4.0 server / OEMNSVSA.IN_ / oemnsvsa.inf
INI File  |  1996-07-12  |  19KB  |  509 lines

  1. [Identification]
  2.     OptionType = NetService
  3. [Options]
  4.     SAP
  5. [FileConstants]
  6. Manufacturer    = "Microsoft"
  7. ProductMajorVersion     = "4"
  8. ProductMinorVersion     = "0"
  9. SoftwareType = "service"
  10. ProductVersion  = $(ProductMajorVersion)"."$(ProductMinorVersion)
  11. ProductOpSupport     = 132 
  12. ProductSAPName  = "NwSapAgent"
  13. ProductSAPImagePath  = "%SystemRoot%\system32\services.exe"
  14. ProductKeyName  = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\NwSapAgent\CurrentVersion"
  15. [GeneralConstants]
  16. UtilityInf       = "UTILITY.INF"
  17. subroutineinf    = "SUBROUTN.INF"
  18. Exit_Code        = 0
  19. BillboardVisible = 0
  20. from      = ""
  21. to        = ""
  22. ExitCodeOk     = 0
  23. ExitCodeCancel = 1
  24. ExitCodeFatal  = 2
  25. KeyNull         = ""
  26. MAXIMUM_ALLOWED   = 33554432
  27. SERVICE_NO_CHANGE = 4294967295
  28. RegistryErrorIndex = NO_ERROR
  29. KeyProduct      = ""
  30. KeyParameters   = ""
  31. TRUE            = 1
  32. FALSE           = 0
  33. NoTitle         = 0
  34. ExitState   = "Active"
  35. OldVersionExisted = $(FALSE)
  36. [date]
  37.     Now = {} ? $(!LIBHANDLE) GetSystemDate
  38. [Identify]
  39.     read-syms Identification
  40.     set Status     = STATUS_SUCCESSFUL
  41.     set Identifier = $(OptionType)
  42.     set Media      = #("Source Media Descriptions", 1, 1)
  43.     Return $(Status) $(Identifier) $(Media)
  44. [ReturnOptions]
  45.     set Status        = STATUS_FAILED
  46.     set OptionList     = {}
  47.     set OptionTextList = {}
  48.     set LanguageList = ^(LanguagesSupported, 1)
  49.     Ifcontains(i) $($0) in $(LanguageList)
  50.         goto returnoptions
  51.     else
  52.         set Status = STATUS_NOLANGUAGE
  53.         goto finish_ReturnOptions
  54.     endif
  55. returnoptions = +
  56.     set OptionList     = ^(Options, 1)
  57.     set OptionTextList = ^(OptionsText$($0), 1)
  58.     set Status         = STATUS_SUCCESSFUL
  59. finish_ReturnOptions = +
  60.     Return $(Status) $(OptionList) $(OptionTextList)
  61. [InstallOption]
  62.     set Option   = $($1)
  63.     set SrcDir   = $($2)
  64.     set AddCopy  = $($3)
  65.     set DoCopy   = $($4)
  66.     set DoConfig = $($5)
  67.     set InstallFrom = $($6)
  68.     ifstr(i) $(InstallFrom) == ""
  69.         set InstallFrom = "SAP"
  70.     endif
  71.     set LanguageList = ^(LanguagesSupported, 1)
  72.     Ifcontains(i) $($0) NOT-IN $(LanguageList)
  73.         Return STATUS_NOLANGUAGE
  74.     endif
  75.     set-subst LF = "\n"
  76.     read-syms GeneralConstants
  77.     read-syms FileConstants
  78.     read-syms DialogConstants$(!STF_LANGUAGE)
  79.     ifstr(i) $(!NTN_Origination) == "NCPA"
  80.         set Continue = $(OK)
  81.     endif
  82.     read-syms FileConstants$(!STF_LANGUAGE)
  83.     detect date
  84.     set-title  $(FunctionTitle)
  85.     set to   = Begin
  86.     set from = Begin
  87.     set CommonStatus = STATUS_SUCCESSFUL
  88.     EndWait
  89. Begin = +
  90.     Ifstr(i) $(!NTN_InstallMode) == deinstall
  91.         set StartLabel = removeadapter
  92.     else-Ifstr(i) $(!NTN_InstallMode) == Update
  93.         set StartLabel = UpgradeSoftware
  94.     else-Ifstr(i) $(!NTN_InstallMode) == configure
  95.         Debug-Output "Cannot configure the software."
  96.         Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_SOFTWARE
  97.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  98.             Debug-Output "ShellCode error: cannot get an error string."
  99.             goto ShellCodeError
  100.         endif
  101.         set Error = $($R0)
  102.         set from = end
  103.         set to = end
  104.         goto nonfatalinfo
  105.     else-Ifstr(i) $(!NTN_InstallMode) == bind
  106.         set StartLabel = bindingadapter
  107.     else
  108.         set StartLabel = installadapter
  109.         set OEM_ABANDON_SOFTWARE = {}
  110.         set OEM_ABANDON_OPTIONS = {}
  111.     endif
  112.     set from = $(fatal)
  113.     set to = $(fatal)
  114.     goto $(StartLabel)
  115. installadapter = +
  116.     set OEM_ABANDON_ON  = TRUE
  117.     StartWait
  118.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyService
  119.     Ifstr(i) $(KeyService) == $(KeyNull)
  120.         ifstr(i) $(!NTN_InstallMode) == "install"
  121.             Ifstr(i) $(DoCopy) == "YES"
  122.                 Debug-Output "SAP.INF: Calling DoAskSource 1"
  123.                 Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
  124.                 Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  125.                    Goto ShellCodeError
  126.                 Else-Ifstr(i) $($R0) == STATUS_FAILED
  127.                    Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
  128.                    ifint $($ShellCode) != $(!SHELL_CODE_OK)
  129.                       goto ShellCodeError
  130.                    endif
  131.                    set Error = $($R0)
  132.                    Goto fatal
  133.                 Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
  134.                    Goto successful
  135.                 Endif
  136.                 Set SrcDir = $($R1)
  137.             Endif
  138.             set NwlnkName = "NWLINKIPX"
  139.             OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\NWLINKIPX" $(MAXIMUM_ALLOWED) BS_KeyServices
  140.             Ifstr $(BS_KeyServices) == $(KeyNull)
  141.                 set NwlnkName = "NWLNKIPX"
  142.                 OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\NWLNKIPX" $(MAXIMUM_ALLOWED) BS_KeyServices
  143.                 Ifstr $(BS_KeyServices) == $(KeyNull)
  144.                     Shell "oemnxpip.inf" ReturnOptions $(!STF_LANGUAGE)
  145.                     ifstr(i) $($R0) == STATUS_SUCCESSFUL
  146.                         set OldStfSrcDir = $(!STF_SRCDIR_OVERRIDE)
  147.                         set !STF_SRCDIR_OVERRIDE = ""
  148.                         set NwlnkName = *($($R1),1)
  149.                         Shell "oemnxpip.inf" InstallOption $(!STF_LANGUAGE), *($($R1),1),+
  150.                             $(SrcDir), $(AddCopy), "NO", $(DoConfig)
  151.                         set !STF_SRCDIR_OVERRIDE = $(OldStfSrcDir)
  152.                     else
  153.                         Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "NONFATAL", $(InstallNWLINKFirst)
  154.                         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  155.                             goto ShellCodeError
  156.                         endif
  157.                         goto end
  158.                     endif
  159.                 else
  160.                     CloseRegKey $(BS_KeyServices)
  161.                 endif
  162.             else
  163.                 CloseRegKey $(BS_KeyServices)
  164.             endif
  165.             Debug-Output "OEMNSVCU.INF: installadapter: installing [Install-Option]"
  166.             install "Install-Option"
  167.             ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  168.                Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE"
  169.                ifint $($ShellCode) != $(!SHELL_CODE_OK)
  170.                    goto ShellCodeError
  171.                endif
  172.                set Error = $($R0)
  173.                goto fatal
  174.             endif
  175.         endif
  176.         Shell $(UtilityInf), AddSoftwareComponent, "Microsoft", +
  177.             $(ProductSAPName), +
  178.             $(ProductSAPName), +
  179.             $(ProductSAPDisplayName), +
  180.             $(STF_CONTEXTINFNAME),+
  181.             $(ProductSAPImagePath), +
  182.             "autoserviceshare" , "", {"NWLNKIPX"}, ""
  183.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  184.             Debug-Output "OEMNSVRA.INF: InstallRasIsnSapService : ShellCode error"
  185.             return STATUS_FAILED
  186.         endif
  187.         set RegistryErrorIndex = $($R0)
  188.         set ProductKey = $($R1)
  189.         set RuleKey = $($R2)
  190.         CloseRegKey $($R3)
  191.         CloseRegKey $($R4)
  192.         CloseRegKey $($R5)
  193.         set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
  194.                            {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
  195.                            {Title,$(NoTitle),$(!REG_VT_SZ),$(ProductSAPTitle)},+
  196.                            {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSAPDescription)},+
  197.                            {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
  198.                            {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductOpSupport)}, +
  199.                            {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  200.         Shell  $(UtilityInf), AddValueList, $(ProductKey), $(NewValueList)
  201.         CloseRegKey $(ProductKey)
  202.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  203.             Debug-Output "utility.INF: ShellCode error. Cannot added SapAgent"
  204.             goto ShellCodeError
  205.         endif
  206.         set RegistryErrorIndex = $($R0)
  207.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  208.             EndWait
  209.             Debug-Output "OEMNSVRA.INF: InstallIsnSapService: Registry error: create service" 
  210.             set Status = STATUS_FAILED
  211.         endif
  212.         set NewValueList = {{InfOption,$(NoTitle),$(!REG_VT_SZ),"SAP"}}
  213.         Shell  $(UtilityInf), AddValueList, $(RuleKey), $(NewValueList)
  214.         CloseRegKey $(RuleKey)
  215.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  216.             Debug-Output "utility.INF: ShellCode error. Cannot added SapAgent"
  217.             goto ShellCodeError
  218.         endif
  219.         set RegistryErrorIndex = $($R0)
  220.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  221.             EndWait
  222.             Debug-Output "OEMNSVRA.INF: InstallIsnSapService: Registry error: create service" 
  223.             set Status = STATUS_FAILED
  224.         endif
  225.         Shell $(UtilityInf) AddServerRpcProtocol "ncadg_ipx" "RpcLtScm.Dll"
  226.         Shell $(UtilityInf) AddServerRpcProtocol "ncacn_spx" "RpcLtScm.Dll"
  227.     endif
  228.     Ifstr(i) $(KeyService) != $(KeyNull)
  229.         CloseRegKey $(KeyService)
  230.     endif
  231.     Shell "" AddSAPUsed $(InstallFrom)
  232.     EndWait
  233.     goto successful
  234. configureadapter = +
  235.     goto end
  236. bindingadapter =+
  237.     goto end
  238. removeadapter = +
  239.     set RasIsnSapKeyName = "System\CurrentControlSet\Services\NwSapAgent"
  240.     set ProductRASISNSAPName  = "NwSapAgent"
  241.     Shell "" RemoveSAPUsed $(InstallFrom)
  242.     OpenRegKey $(!REG_H_LOCAL) "" $(RasIsnSapKeyName) $(MAXIMUM_ALLOWED) BS_KeyServices
  243.     Ifstr $(BS_KeyServices) != $(KeyNull)
  244.         CloseRegKey $(BS_KeyServices)
  245.         Shell "" NumOfUsed
  246.         set NumOfUsed = $($R0)
  247.         ifint $(NumOfUsed) == 0
  248.             Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), $(ProductRASISNSAPName)
  249.             OpenRegKey $(!REG_H_LOCAL) "" "Software\Microsoft\NWCWorkstation" $(MAXIMUM_ALLOWED) NWCKey
  250.             ifstr(i) $(NWCKey) == ""
  251.             else
  252.                 CloseRegKey $(NWCKey)
  253.             endif
  254.         else
  255.             ifstr(i) $(InstallFrom) == "SAP"
  256.                 read-syms InUsed
  257.             set from = end
  258.             set to = end
  259.                     goto warning
  260.             endif
  261.         endif
  262.     endif
  263. RemoveSapAgentReturn = +
  264.     goto end
  265. UpgradeSoftware = +
  266.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  267.     Ifstr(i) $(KeyProduct) != $(KeyNull)
  268.         install "Install-Update"
  269.         ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  270.             goto fatal
  271.         endif
  272.         SetRegValue $(KeyProduct) {SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)}
  273.         SetRegValue $(KeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMajorVersion)}
  274.         SetRegValue $(KeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMinorVersion)}
  275.         SetRegValue $(KeyProduct) {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSAPDescription)}
  276.         SetRegValue $(KeyProduct) {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductOpSupport)}
  277.         CloseRegKey $(KeyProduct)
  278.         Shell $(UtilityInf) AddServerRpcProtocol "ncadg_ipx" "RpcLtScm.Dll"
  279.         Shell $(UtilityInf) AddServerRpcProtocol "ncacn_spx" "RpcLtScm.Dll"
  280.     endif
  281.     goto end
  282. successful = +
  283.     goto end
  284. infomsg =+
  285.    read-syms InfoDlg
  286.    ui start "Warning"
  287.    set CommonStatus = STATUS_USERCANCEL
  288.    goto end
  289. warning = +
  290.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "STATUS", $(Error)
  291.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  292.         goto ShellCodeError
  293.     endif
  294.     ifstr(i) $($R1) == "OK"
  295.         goto $(to)
  296.     else-ifstr(i) $($R1) == "CANCEL"
  297.         goto $(from)
  298.     else
  299.         goto "end"
  300.     endif
  301. nonfatalinfo = +
  302.     Set CommonStatus = STATUS_USERCANCEL
  303.     Set Severity = STATUS
  304.     goto nonfatalmsg
  305. nonfatal = +
  306.     Set Severity = NONFATAL
  307.     goto nonfatalmsg
  308. nonfatalmsg = +
  309.     ifstr(i) $(Error) == ""
  310.         Set Severity = NONFATAL
  311.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  312.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  313.             goto ShellCodeError
  314.         endif
  315.         set Error = $($R0)
  316.     endif
  317.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error)
  318.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  319.         goto ShellCodeError
  320.     endif
  321.     ifstr(i) $($R1) == "OK"
  322.         goto $(from)
  323.     else
  324.         goto "end"
  325.     endif
  326. fatalregistry = +
  327.     Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex)
  328.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  329.         goto ShellCodeError
  330.     endif
  331.     set Error = $($R0)
  332.     goto fatal
  333. fatal = +
  334.     ifstr(i) $(Error) == ""
  335.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  336.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  337.             goto ShellCodeError
  338.         endif
  339.         set Error = $($R0)
  340.     endif
  341.     Ifint $(BillboardVisible) != 0
  342.         Shell "subroutn.inf" PopBillboard
  343.         Set BillboardVisible = 0
  344.     Endif
  345.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
  346.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  347.         goto ShellCodeError
  348.     endif
  349.    goto setfailed
  350. ShellCodeError = +
  351.     set DlgType      = "MessageBox"
  352.     set STF_MB_TITLE = $(ShellCodeErrorTitle)
  353.     set STF_MB_TEXT  = $(ShellCodeErrorText)
  354.     set STF_MB_TYPE  = 1
  355.     set STF_MB_ICON  = 3
  356.     set STF_MB_DEF   = 1
  357.     ui start "Error Message"
  358.     goto setfailed
  359. setfailed = +
  360.     set CommonStatus = STATUS_FAILED
  361.     ifstr(i) $(OEM_ABANDON_ON) == TRUE
  362.         set OEM_ABANDON_ON = FALSE
  363.         goto removeadapter
  364.     endif
  365.     goto end
  366. end = +
  367.     goto term
  368. term = +
  369.     Return $(CommonStatus)
  370. [Install-Option]
  371.     set STF_VITAL = ""
  372.     ifstr(i) $(AddCopy) == "YES"
  373.         AddSectionFilesToCopyList Files-SAP $(SrcDir) $(!STF_WINDOWSSYSPATH)
  374.     endif
  375.     ifstr(i) $(DoCopy) == "YES"
  376.        set !STF_NCPA_FLUSH_COPYLIST = TRUE
  377.        CopyFilesInCopyList
  378.     endif
  379.     ifstr(i) $(DoConfig) == "YES"
  380.     endif
  381.     Exit
  382. [Install-Update]
  383.    set STF_VITAL        = ""
  384.    set STF_OVERWRITE    = "VERIFYSOURCEOLDER"
  385.    AddSectionFilesToCopyList Files-SAP $(SrcDir) $(!STF_WINDOWSSYSPATH)
  386.    Exit
  387. [AddSAPUsed]
  388.     read-syms GeneralConstants
  389.     read-syms FileConstants
  390.     read-syms FileConstants$(!STF_LANGUAGE)
  391.     set KeyName = $($0)
  392.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyService
  393.     ifstr(i) $(KeyService) != ""
  394.         OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName)"\UseRef" $(MAXIMUM_ALLOWED) KeyUseRef
  395.         ifstr(i) $(KeyUseRef) == ""
  396.             CreateRegKey $(KeyService) {"UseRef",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyUseRef
  397.         endif
  398.         ifstr(i) $(KeyUseRef) != ""
  399.             SetRegValue $(KeyUseRef) {$(KeyName),$(NoTitle),$(!REG_VT_SZ),"1"}
  400.             CloseRegKey $(KeyUseRef)
  401.         endif
  402.         CloseRegKey $(KeyService)
  403.     else
  404.     endif
  405.     return
  406. [RemoveSAPUsed]
  407.     read-syms GeneralConstants
  408.     read-syms FileConstants
  409.     read-syms FileConstants$(!STF_LANGUAGE)
  410.     set KeyName = $($0)
  411.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyService
  412.     ifstr(i) $(KeyService) != ""
  413.         OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName)"\UseRef" $(MAXIMUM_ALLOWED) KeyUseRef
  414.         ifstr(i) $(KeyUseRef) == ""
  415.             CreateRegKey $(KeyService) {"UseRef",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyUseRef
  416.         endif
  417.         ifstr(i) $(KeyUseRef) != ""
  418.             DeleteRegValue $(KeyUseRef) $(KeyName)
  419.             CloseRegKey $(KeyUseRef)
  420.         endif
  421.         CloseRegKey $(KeyService)
  422.     else
  423.     endif
  424.     return
  425. [NumOfUsed]
  426.     read-syms GeneralConstants
  427.     read-syms FileConstants
  428.     read-syms FileConstants$(!STF_LANGUAGE)
  429.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyService
  430.     ifstr(i) $(KeyService) != ""
  431.         OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName)"\UseRef" $(MAXIMUM_ALLOWED) KeyUseRef
  432.         ifstr(i) $(KeyUseRef) == ""
  433.             CreateRegKey $(KeyService) {"UseRef",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyUseRef
  434.         endif
  435.         ifstr(i) $(KeyUseRef) != ""
  436.             EnumRegValue $(KeyUseRef) UsageList
  437.             set Num = 0
  438.             ForListDo $(UsageList)
  439.                 set-add Num = $(Num), 1
  440.             EndForListDo
  441.             CloseRegKey $(KeyUseRef)
  442.         endif
  443.         CloseRegKey $(KeyService)
  444.     else
  445.     endif
  446.     return $(Num)
  447. [FindUsed]
  448.     read-syms GeneralConstants
  449.     read-syms FileConstants
  450.     read-syms FileConstants$(!STF_LANGUAGE)
  451.     set KeyName = $($0)
  452.     set Find = FALSE
  453.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyService
  454.     ifstr(i) $(KeyService) != ""
  455.         OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName)"\UseRef" $(MAXIMUM_ALLOWED) KeyUseRef
  456.         ifstr(i) $(KeyUseRef) == ""
  457.             CreateRegKey $(KeyService) {"UseRef",$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" KeyUseRef
  458.         endif
  459.         ifstr(i) $(KeyUseRef) != ""
  460.             GetRegValue $(KeyUseRef),$(KeyName), KeyInfo
  461.             ifstr(i) $(RegLastError) == $(!REG_ERROR_SUCCESS)
  462.                 set Find = TRUE
  463.             endif
  464.             CloseRegKey $(KeyUseRef)
  465.         endif
  466.         CloseRegKey $(KeyService)
  467.     else
  468.     endif
  469.     return $(Find)
  470. [Source Media Descriptions]
  471.     1 = "Windows NT Server CD-ROM", TAGFILE = cdrom_s.40
  472. [Signature]
  473.     FileType = MICROSOFT_FILE
  474. [GetSignature]
  475.     read-syms Signature
  476.     return $(FileType)
  477. [ProductType]
  478. STF_PRODUCT  = LanmanNT
  479. STF_PLATFORM = I386
  480. [Files-Inf]
  481. 2,    oemsetup.inf,     SIZE=1000,    RENAME=$(!UG_Filename)
  482. [Files-SAP]
  483. 1,NWSAP.DLL , SIZE=999
  484. [LanguagesSupported]
  485.     ENG
  486. [OptionsTextENG]
  487.     SAP = "SAP Agent"
  488. [FileConstantsENG]
  489. ProCaption   = "Windows NT Setup"
  490. ProCancel    = "Cancel"
  491. ProCancelMsg = "Windows NT Networking is not correctly installed.  "+
  492.                "Are you sure you want to cancel copying files?"
  493. ProCancelCap = "Network Setup Message"
  494. ProText1     = "Copying:"
  495. ProText2     = "To:"
  496. ProductSAPTitle       = "SAP Agent"
  497. ProductSAPDescription = "Service Advertising Protocol advertises servers and addresses on a network."
  498. ProductSAPDisplayName = "SAP Agent"
  499. [InUsed]
  500. Error = "SAP Agent is currently in use by other network protocols. Please remove all related services first."
  501. [DialogConstantsENG]
  502. Help        = "&Help"
  503. Exit        = "Cancel"
  504. OK          = "OK"
  505. HelpContext = ""
  506. Continue    = "Continue"
  507. Cancel      = "Cancel"
  508. [FileDependentDlgENG]
  509.